﻿[class*="icon-"]{
	line-height: auto;
}
/*购物车加减控件*/
.num-modifier{
	display: flex;
	border: 1px #ddd solid;
	background-color: white;
	justify-content: center;
	align-items: stretch;
}

.num-modifier *{
	display: inline-block;
	margin: 0;
	border: 0;
	outline: none;
	text-align: center;
	background-color: transparent;
}
.num-modifier button.minus{
	border-right: 1px #ddd solid;
	cursor: pointer;
}
.num-modifier button.plus{
	border-left: 1px #ddd solid;
	cursor: pointer;
}
.shop-main .num-modifier button.minus{
	padding:0 10px;
}
.shop-main .num-modifier button.plus{
	padding:0 10px;
}
/*
 *  最头上的标题 
 */
.header{
	background-clip: padding-box;
	height: 190px;
	margin: 0;
	background-image: url(//127.0.0.1:8080/eleme/resources/img/shopmenu/shop-bg.0391dd.jpg);
	background-repeat: no-repeat;
}
/*.header .container{
	height: 48px;
}*/
.topbar{
	height: 48px;
	background-color: rgba(0, 0, 0, 0.4);
}

.topbar .topbar-item,.topbar-link{
	display: inline-block;
	color: white;
	height: 48px;
	line-height: 48px;
	text-align: center;
}

.topbar .topbar-item{
	width: 134px;
	float: left;
	font-size: 16px;
}
.topbar .topbar-link{
	color: rgb(204, 204, 204);
	/*font-size: 14px;*/
	float: right;
	box-sizing: border-box;
	width: 106px;
	padding: 0 10px;
	font-size: 14px;
}
.topbar .topbar-link:hover{
	color: white;
}
.topbar .icon-mobile{
	font-size: 22px;
	display: inline-flex;
	margin-right: 5px;
	vertical-align: middle;
}
.topbar .nav-mobile{
	line-height: 48px;
	cursor: pointer;
}
.topbar .user{
	display: inline-block;
	width: 250px;
	margin-left: 0px;
	text-align: right;
	float: right;
	position: relative;
	font-size: 14px;
}
.topbar .user>*{
	color: white;
	float: right;
}
.topbar .user .icon-triangle-down{
	background-color: rgba(0,0,0,0.1);
	color: #ccc;
	font-size: 20px;
}
.topbar .profile{
	cursor: default;
}	
.topbar .profile span{
	cursor: pointer;
}
.topbar .usercenter{
	right: 0px;
	top: 34px;
	z-index: 2;
	display: none;
}
.topbar .tooltip-up-arrow{
	border-bottom-color: rgba(255,255,255,0.98);
	position: relative;
	left: 105px;
}
.topbar .usercenter .tooltip-content{
	background-color: rgba(255,255,255,0.98);
	box-shadow: 0 1px 1px rgba(0,0,0,0.4);
	font-size:14px;
	color: #666;
	padding: 5px;	
	margin: 0px;
	width: 122px;
	box-sizing: border-box;
	height: 160px;
}
.usercenter a{
	display: inline-block;
	width: 110px;
	padding: 0 10px 0 5px;
	text-align: center;
	box-sizing: border-box;
	height: 30px;
	line-height: 30px;
	margin: 0;
	color: inherit;
	float:left;
}
.usercenter a:hover{
	background-color: #f1f1f1;
}
.usercenter a:before{
	color: #999;
}
.usercenter a:last-child{
	border-top: 1px #eee solid;	
}
.topbar .user>.icon-profile{
	font-size: 22px;
	display: inline-block;
	margin-right: 7px;
} 
.topbar .icon-logo{
	width: 90px;
	margin-right: 30px;
	text-align: left;
}
.topbar .homepage{
	width: 112px;
}

/*
 *  商店信息区域 
 */
.shop-guide{
	height: 142px;
	color: white;
	display: table;
}
.shop-guide-info{
	height: 100%;
	width: 480px;
	display: table-cell;
	vertical-align: middle;
}

.shop-guide-extra{
	position: absolute;
	top: 0px;
	left: 0px;
	height: 0px;
	width: 480px;
	padding-top: 142px;
	background-color: rgba(255,255,255,0.1);
	color:#666;
	z-index: 3;
	font-size: 14px;
	box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.shop-guide-extra .extra-content{
	background-color: white;
	position: absolute;
	width: 100%;
	box-sizing: border-box;
	padding: 0px 20px;
	list-style: none;
}
.shop-extra-row{
	display: table;
	padding: 15px 0;
	vertical-align: middle;
	width: 100%;
	box-sizing: border-box;
}
.shop-extra-row+.shop-extra-row{
	border-top: 1px #ececec dashed;
}
.mixed-rate{
	text-align: center;
	display: table-cell;
	width: 40%;
	font-size: 12px;
}
.mixed-rate span:first-of-type{
	color: #999;
}
.mixed-rate h2{
	font-size: 28px;
	margin: 10px 0;
}
.mixed-rate p{
	margin: 0;
}
.star-detail{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	border-left: 1px #ececec solid;
	width: 60%;
	/*box-sizing: content-box;*/
	font-size: 12px;
}
.deliverer{
	color: #0089dc;
	padding: 0 5px;
}
a.rate{
	color:white;
}
.shop-guide-info>img{
	box-sizing: border-box;
	width: 95px;
	height: 95px;
	margin-right: 15px;
	border: 4px rgba(255, 255, 255, 0.3) solid;
	border-radius: 50%;
	vertical-align: middle;
}
.shop-guide-wrapper{
	display: inline-block;
	vertical-align: middle;
	border: none;
	position: relative;
	left: -4px;	
}
.shop-guide-wrapper>h1{
	color: white;
	font-size: 20px;
	margin: 0;
	height: 30px;
	line-height: 30px;
}

.shop-guide-server{
	display: table-cell;
	vertical-align: middle;
	/*font-size: 14px;*/
	padding-right: 100px;
	text-align: right;
}

.shop-guide-rate{
	margin: 10px 0;
	/*font-size: 14px;*/

}
.shop-guide-server>*{
	display: inline-block;
	margin-left: 80px;
	text-align: center;
}
.minimum-charge, .shipping-fee, .avg-shipping-time{
	display: block;
	font-size: 18px;
	margin: 12px 0 3px 0;
}
.favourite{
	position: absolute;
	margin: 0;
	padding: 10px 5px;
	color: rgb(238,238,238);
	right:0;
	top:0;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 0 0 5px 5px;
	width: 80px;
	height: 65px;
	box-sizing: border-box;
	padding: 10px 5px;
	/*font-size: 14px;*/
}
.favourite .icon-favourite{
	font-size: 20px;
}

/*
 * 导航栏和排序方式 
 */

.nav{
	height: 57px;
	line-height: 57px;
	background-color: white;
}
.nav>a{
	position: relative;
	color: #333;
	display: inline-block;
	width: 112px;
	font-size: 16px;
	text-align: center;
}
.nav-tab+.nav-tab:before {
	content: "";
	display: inline-block;
    top: 50%;
    margin-top: -7px;
    height: 14px;
    width: 1px;
    background-color: #ccc;
    position: absolute;
    left: 0;
}
.nav-tab.active-tab{
	color: #0089dc;
	border-bottom: 3px #0089dc solid;
}
.nav-filter{
	display: inline-block;
	float:right;
	height: 57px;
	line-height: 57px;
}
.nav-filter>a{
	color: #333;
	/*font-size: 14px;*/
	padding: 0 15px;
}
.nav-filter a.active{
	color: #0089dc;
}
.nav-filter>a+a{
	border-left: 1px #eee solid;
}
.nav-filter span{
	color: #999;
}

.nav-filter>a.display-type{
	color: #999;
	border: 1px rgb(221,221,221) solid;
	padding: 6px 8px;
	margin-left: -5px;
	width: 31px;
	height: 31px;
}
.nav-filter>a.display-type.active{
    background-color: #0089dc;
    border-color: #0089dc;
    z-index: 1;
}
.nav-filter>a.display-type.active>span{
	color: white;
}
.shop-search{
	float: right;
    margin: 10px 0;
    height: 30px;
    width: 260px;
    border: 1px #ccc solid;
    vertical-align: middle;
}
.shop-search>input{
	border: none;
	outline: 0;
	display: inline-block;
    padding: 0 8px;
    margin: 4px 0;
    line-height: 24px;	
    float: left;	
    /*font-size: 14px;*/
}

.shop-search>button{
	background-color: transparent;
	float: right;
	border: none;
	font-size: 20px;
	color:#999;
	line-height: 30px;
	cursor: pointer;
	width: 46px;
}
.shop-search>button:hover{
	color:  #0089dc;
}
/*
 * 商店菜单主分区 
 */

.shop-main{
	margin-top: 20px;
	background-clip: padding-box;
}
/*
 * 菜品分类列表
 */
.shop-category{
	background-color: #fff;
	/*font-size: 14px;*/
	padding: 10px 15px 5px;
	box-sizing: border-box;
	border: 1px solid #eee;
	box-shadow: 0 0 2px #ccc;
}
.fixed-category{
	position: fixed;
	top:0;
	width: 885px;
	z-index: 5;
}
.shop-category>a{
	display: inline-block;
	margin: 5px 5px;
	padding: 4px 10px;
	width: 15%;
	color:#666;
	border-radius: 2px;
}
.shop-category>a.active{
	color: #fff;
	background-color: #0089dc;
}

.category{
	display: inline-block;
	padding: 20px 0px 10px 15px;
	margin: 0px;
	
}
.category-hint{
	font-size: 12px;
	color: #999;
	position: relative;
	left: 5px;
}

/*
 * 单个菜品分类下菜品列表
 */
.one-category{
	width: 903px;
}
.one-dish{
	display: none;
	/*display: inline-block;*/
	height: 102px;
	background-color: #fff;
    border: 1px solid #eee;
    color: #999;
    font-size: 12px;
    margin: 0 10px 15px 0;
}
.dish-half{
	width: 48%;
}
.dish-full{
	width: 98%;
}
.one-dish>img{
	width: 102px;
	height: 102px;
	float:left;
	margin-right: 15px;
}
.one-dish>.dish-name{
    margin: 10px 0 0 0;	
    position: relative;
}
.one-dish>.dish-name>span{
	color: #000;
    font-size: 14px;
    font-weight: 700;
   /* position: absolute;*/
}
.one-dish>.dish-desc{
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-right: 10px;
	margin-top: 3px;
	cursor: text;
}
.one-dish>.price{
	font-size: 14px;
	display: inline-block;
	height: 28px;
	line-height: 28px;
}
.one-dish .icon-cny{
	font-size: 12px;
	margin-right: 3px;
}
.one-dish>.cartbutton{
	/*display: block;*/
	width: 90px;
	height: 24px;
	border-radius: 13px;
	float: right;
	margin-right: 10px;
	outline: none;
	cursor: pointer;	
}
.one-dish>.cartbutton.joincart, .one-dish>.cartbutton.selectspec{
	border: none;
	background-color: #0089dc;
	color: white;
}
.one-dish>.num-modifier{
	
	/*border-radius: 50%;*/
}
.one-dish .more-desc{
	width: 300px;	
	bottom:0px;
	right:10px;
	font-weight: 500;
	display: none;
}
.one-dish .more-desc>.tooltip-content{
	font-size: 14px;
    color: #fff;
    padding: 5px 10px;
    background: rgba(114, 111, 119, 0.8);
    border-radius: 3px;
}
.one-dish .more-desc>.tooltip-down-arrow{
	/*border-color: #726F77;*/
	margin: 0 auto;
	border-top-color: #726F77;
}
/* 
 * 选择规格窗口
 * */
.s-spec-bck{
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left:0;
	background-color: rgba(0,0,0,0.4);
	z-index: 10;
	display: none;
}
.s-spec{
	display: none;
	z-index: 11;
	position: absolute;
}
.s-spec div{
	display: inline-block;
}
.s-spec .tooltip-left-arrow{
	border-right-color: white;
	position: absolute;
	top: 20px;
	left: -7px
}
.s-spec .tooltip-content{
	width: 300px;
	height: auto;
	padding: 10px;
	background-color: white;
	box-shadow: 0 0 10px white;
	font-size: 14px;
	color: #333;	
}
.s-spec dl.speclist{
	margin: 0;
	padding: 10px 10px 20px 10px;
	background-color: #fcfcfc;
	border: 1px #eee solid;
}
.s-spec dl.speclist dd{
	height: 26px;
	border-radius: 13px;
	color: #999;
	border: 1px #999 solid;
	margin: 10px 10px 0 5px;
	padding: 0 10px;
	text-align: center;
	line-height: 26px;
	display: inline-block;
	cursor: pointer;
}
.s-spec dl.speclist dd.active{
	color: #0089dc;
	border-color: #0089dc;
}
.s-spec span.price{
	font-size: 16px;
	line-height: 30px;
	font-weight: bold;
}
.s-spec .icon-cny{
	font-size: 12px;
}
.s-spec button{
	margin: 5px 10px 0 0;
	border-radius: 2px;
	border: none;
	height: 30px;
	padding: 5px 10px;
	font-size: 14px;
	cursor: pointer;
	outline: none;
}
.s-spec button.spec-joincart{
	background-color: #0089dc;
	color: white;
}
.s-spec button.spec-joincart:hover{
	background-color: rgb(0, 116, 183);
}
.s-spec button.spec-cancel{
	background-color: transparent;
	color: #999;
}
/*
 * 侧边商店公告
 * */
.shop-aside{
	position: absolute;
	right: 0;
	top:0;
	width: 23.5%;
	border: 1px solid #eee;
	color: #333;
	box-shadow: 0px 1px 0px rgba(0,0,0,0.13);
}
.shop-aside>h2{
	background-color: #0089dc;
	color: white;
	height: 46px;
	line-height: 46px;
	margin: 0;
	padding: 0 1em;
	font-size: 17px;
}
.shop-aside>.shop-notice{
	background-color: white;
	padding: 10px 15px;
	line-height: 2;
}
.shop-aside>.shipping{
	padding: 10px 15px;
}
.shop-aside>.shipping>h4{
	font-weight: 700;
	margin: 0;
}
.shop-aside>.pack{
	list-style: none;
	margin: 0;
	padding: 1px 15px;
	background-color: white;
}
.shop-aside>.pack>li{
	margin: 10px 0;
	padding-left: 10px;
}
.shop-aside .pack-icon{
	display: inline-block;
	background-color: #999999;
	border-radius: 50%;
	height: 22px;
	width: 22px;
	text-align: center;
	color: white;
	font-size:12px;
	line-height: 22px;
	
}
.shop-aside .inform{
	display: inline-block;
	background-color: #ffffff;
	border-top: 1px solid #eee;
	width: 100%;
	height: 55px;
	font-size: 18px;
	text-align: center;
	color: #666;
	line-height: 55px;
}

/*
 * 侧边工具栏
 * */
.side-tools{
	position: fixed;
	right:0;
	top:0;
	bottom: 0;
	height: 166px;
	font-size: 18px;
	margin: auto;
	z-index: 5;
}
.side-tools a{ 
	display: block;
	height: 40px;
	width: 40px;
	border: 1px #ddd solid;
	line-height: 40px;
	text-align: center;
	position: relative;
	border: 1px #ebebeb solid;
	color: #888;
	background-color: rgb(247, 247, 247);
}
.side-tools a:last-child{
	top: 5px;
}
.side-tools .tooltip, .side-tools img{
	display: inline-block;
	position: absolute;
}
.side-tools .tooltip{
	left:-95px;
	top:3px;
	display: none;
}
.side-tools .tooltip-content{
	display: inline-block;
	background: #777;
	color: white;
	font-size:15px;
	border-radius: 3px;
	width: 85px;
	height: 34px;
	line-height: 34px;
	
}
.side-tools .tooltip-right-arrow{
	display: inline-block;
	border-left-color: #777;
	position: relative;
	left: -5px;
}
/*页脚*/
/*div.help,div.about-us{
	display: inline-block;
	float: left;
	width: 150px;
	padding: 20px 30px 0 0;
	font-size: 16px;
}
footer a{
	color: #999;
	font-size: 12px;
	display: block;
	height: 20px;
	margin: 10px 0;
}
img.2D-code{
	display: inline-block;
	height: 90px;
	width: 90px;
}
.about-us{
	color: #666;
	font-size: 12px;
}
.about-us .icon-wechat, .about-us .icon-weibo{
	display: inline-block;
	height: 50px;
	width: 30px;
	line-height: 50px;
	font-size: 20px;
	color: #ccc;
}
.icon-weibo:hover:before {
    color: #fb545f;
    
}
.icon-wechat:hover:before {
    color: #77d175;
}*/
/*
 * 购物车
 * */

.shop-cart{
	width: 320px;
	position: fixed;
	bottom: 0px;
	right: 0px;
	box-shadow: -1px -1px 10px rgba(0,0,0,0.4);
	z-index: 5;
	background-color: white;
	font-weight: 500;
}
.cart-head{
	height: 43px;
	padding: 12px 10px;
	border-top: 2px #0089dc solid;
	background-color: #fafafa;
	box-sizing: border-box;
	color: #333;
	border-bottom: 1px #eee solid;
}
.cart-head .clear-cart{
	padding-left: 3px;
	color: #0089dc;
	cursor: pointer;
}
.cart-head .icon-cart-add{
	color: #0089dc;
	float: right;
	font-size: 20px;
	cursor: pointer;
}
.cart-item{
	display: inline-block;
	margin:0;
	height: 44px;
	padding: 0 10px;
	box-sizing: border-box;
}
.cart-item-wrapper{
	box-sizing: border-box;
	height: 100%;
	padding: 12px 0;
	display: flex;
	justify-content: space-between;
	align-content: center;
	color: #666;
	border-bottom: 1px #eee solid;
}
	
.cart-item:hover{
	background-color: #f5f5f5;
}
.cart-item>*{
	vertical-align: middle;
}

.cart-item .cart-item-name{
	width: 50%;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cart-item .num-modifier{
}
.cart-item .num-modifier button{
	width: 18px;
}
.cart-item .num-modifier input{
	width:28px;
}
.cart-foot{
	height: 44px;
	display: table;
	color: white;
	background-color: #2c2c2c;
	height: 44px;
	position: relative;
	width: 100%;
}
.cart-foot>*{
	display: table-cell;
	line-height: 12px;
	vertical-align: middle;
}
.cart-foot .icon-cart{
	font-size: 20px;
	padding-left:10px;
	line-height: 20px;
}
.cart-foot .cart-total-count{
	width: 16px;
	height: 16px;
	text-align: center;
	line-height: 16px;
	border-radius: 50%;
	background-color: red;
	font-weight: 600;
	position: absolute;
	left:22px;
	top: 6px;
}
.cart-foot .icon-cny{
	font-size: 12px;
} 
.cart-foot .cart-total-sum{
	font-size: 24px;
}
.cart-foot .cart-total-deliverfee{
	font-size:12px;
	color: #999;
	border-left: 1px #999 solid;
	margin-left: 2px;
	padding-left: 7px;
}
.cart-foot .gotopay{
	width: 120px;
	font-weight: 600;
	text-align: center;
}
.cart-foot .gotopay.empty{
	background-color: #e4e4e4;
	color: #333;
}
.cart-foot .gotopay.full{
	background-color: #51d862;
	color: #fff;
	cursor: pointer;
}

.fly-cart{
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: #0089dc;
	z-index: 5;
}
